#include <stdio.h>

int main(int argc,char *argv[])
{
	int do_flower(void)
	{
		int i = 100;
		int j = 0;
		int k = 0;
		int m = 0;
		int result = 0;
		for(i=100;i<1000;++i)
		{
			j = i/100;
			k = (i-100j)/10;
			m = i%10;
			if(i == j^3 + k^3 + m^3)
			{
				result += i;
			}
		}
	
	return result;
	
	
	}



	printf("result = %d\n",result)




	return 0;
}
